package com.ds.infrastructure.hyperspace.common.config;

import lombok.Getter;
import lombok.Setter;

/**
 * @author  Weishaoying
 */
@Getter
@Setter
public class TargetProtocolConfig extends EntryProtocolConfig {

    private Integer weight = Integer.valueOf(1);

    private Integer connectionInitialPoolSize = Integer.valueOf(10);

    private Integer connectionMaxPoolSize = Integer.valueOf(2000);

    private Integer connectionMaxIdleTime = Integer.valueOf(70000);

    private Integer connectTimeout = Integer.valueOf(10000);

    private boolean overrideHostHeader = false;

    private String customHostHeader;

    private HealthCheckConfig healthCheckConfig = new HealthCheckConfig();

}
